package com.shidaimanong.demo.calc;

/**
 * 学编程，关注：十代码农
 * 抖音、快手、B站、西瓜视频、今日头条
 */
public class CalcDemo1 {

    public static void main(String[] args) {
        int x = 10;
        int y = 20;
        int z = 25;
        System.out.println("x + y = " + (x + y));
        System.out.println("x - y = " + (x - y));
        System.out.println("x * y = " + (x * y));
        System.out.println("y / x = " + (y / x));
        System.out.println("y % x = " + (y % x));
        System.out.println("z % x = " + (z % x));
        x++;
        System.out.println("x++   = " + x);
        y--;
        System.out.println("y--   = " + y);
    }
}